<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑entry</title>
</head>
<body>
    {% extends "learning_logs/base.html" %}

    {% block content %}
        <p><a href="{% url 'll:topic' topic.id %}">{{ topic.text }}</a></p>

        <form action="{% url 'll:edit_entry' entry.id %}" method="post">
            {% csrf_token %}
        {{ form.as_p }}
        <button type="submit">提交编辑</button>

        </form>

    {% endblock %}
</body>
</html>